package com.danciyixue.boot.dcyx.model.query;

import com.danciyixue.boot.common.base.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 用户信息分页查询对象
 *
 * @author youlaitech
 * @since 2025-06-15 16:58
 */
@Schema(description ="用户信息查询对象")
@Getter
@Setter
public class DcyxUsersQuery extends BasePageQuery {

    @Schema(description = "用户名")
    private String username;
    @Schema(description = "密码")
    private String password;
    @Schema(description = "姓名")
    private String fullname;
    @Schema(description = "性别,0-未知,1-男,2-女")
    private Integer gender;
    @Schema(description = "手机号")
    private String mobile;
    @Schema(description = "年级")
    private String grade;
    @Schema(description = "微信ID")
    private String wechatId;
    @Schema(description = "QQ号")
    private String qq;
    @Schema(description = "最后成绩")
    private Integer lastScore;
    @Schema(description = "账号过期时间")
    private List<String> expireTime;
    @Schema(description = "最近登录时间")
    private List<String> loginTime;
    @Schema(description = "电子邮箱")
    private String email;
    @Schema(description = "关联年级列表")
    private String grades;
    @Schema(description = "学生类型,1=学生,2=其他")
    private Integer studentType;
    @Schema(description = "首次登录时间")
    private List<String> firstLoginTime;
    @Schema(description = "教师姓名")
    private String teacherName;
    @Schema(description = "教师手机号")
    private String teacherMobile;
    @Schema(description = "班级名称")
    private String className;
    @Schema(description = "状态,1=正常,0=禁用")
    private Integer status;

    @Schema(description = "归属老师ID过滤，仅校长/管理员生效")
    private Long teacherId;
}
